<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script src="gw.js"></script>
</head>
<body>
<table border="1" width="60%" cellspacing="0">
  <thead>
  <tr>
    <th>商品编号</th>
    <th>商品名</th>
    <th>单价</th>
    <th>购买数量</th>
    <th>单项总价</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody id="data"></tbody>
</table>
购物车总价：<span id="total"></span>
</body>
</html>